#FROM 10.190.25.57/library/python:3.10.10
FROM docker.1ms.run/python:3.10.10
LABEL authors="jing"
RUN mkdir -p /opt/application/k8s-get-events
WORKDIR /opt/application/k8s-get-events
COPY . .
RUN pip3 install kubernetes -i https://pypi.tuna.tsinghua.edu.cn/simple
ENTRYPOINT ["python3", "k8seventslogs-v1.py"]